package com.cql.common.core.DTO;

import com.cql.common.core.DO.RegionDO;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author cql
 */
@Data
public class MomentInfoDTO implements Serializable {

    /**
     * 文章信息
     */
    private Long momentId;

    private String title;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String description;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String content;

    private List<RegionDO> addr;

    private Integer viewNum;

    private Integer markNum;

    private Integer commentNum;

    private Date createTime;

    private List<TagDTO> tags;

    private List<PictureDTO> pictures;


    /**
     * 用户信息
     */
    private String account;

    private String username;

    private String avatar;


}
